{{extends file="admin/admin_header.tpl"}}
{{block name="content"}}
<h3>
	添加新分类
	<div class="pull-right">
		<a href="{{site_url('document/TypeList')}}" class="btn btn-sm btn-default">返回分类列表</a>
	</div>
</h3>
<ul class="nav nav-tabs">
	<li class="active">
		<a href="#tab-general" style="background-color: #f8f8f8 !important;">分类信息</a>
	</li>
</ul>
<form action="{{site_url("document/AddTypeApi")}}" method="post" class="form-horizontal" autocomplete="off" style="background:#f8f8f8;padding:1em;border:1px solid #ddd;border-top:0;">
	<div class="tab-content">
		<div class="tab-pane active" id="tab-general" style="margin: 0 20px;">
			<div class="form-group">
				<label for="name">分类名称</label>
				<input type="text" name="Title" class="form-control" value="">
			</div>
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
			<button type="reset" class="btn btn-default">清空</button>
			<button type="submit" class="btn btn-success">提交</button>
		</div>
	</div>
</form>
{{/block}}